package com.ruoyi.moon.domain;

import java.math.BigDecimal;
import java.sql.Date;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * 评论对象 moon_reviews
 * 
 * @author admin
 * @date 2024-11-05
 */
public class MoonReviews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司评论主键 */
    private Long id;

    /** 用户id  外键 */
    private Long userId;

    /** 公司id 外键 */
    private Long companyId;

    /** 用户名称 */
    private String userName;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;
    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 吐槽详情 */
    @Excel(name = "吐槽详情")
    private String detailedDescription;

    /** 曾任职称 */
    @Excel(name = "曾任职称")
    private String youWork;

    /** 公司评分 */
    @Excel(name = "公司评分")
    private Double companyRating;

    /** 点赞数量 */
    @Excel(name = "点赞数量")
    private String dianzan;

    /** 差评数量 */
    @Excel(name = "差评数量")
    private String chaping;

    /** 是否删除:1删除,0没有删除 */
    private String isDelete;




    /** 审核状态:0:通过, 1:未通过 */
    @Excel(name = "审核状态")
    private String auditStatus;

    /** 未通过原因 */
    @Excel(name = "未通过原因")
    private String cause;

    /** 回复信息 */
    private List<MoonReply> moonReplyList;





    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setDetailedDescription(String detailedDescription) 
    {
        this.detailedDescription = detailedDescription;
    }

    public String getDetailedDescription() 
    {
        return detailedDescription;
    }
    public void setYouWork(String youWork) 
    {
        this.youWork = youWork;
    }

    public String getYouWork() 
    {
        return youWork;
    }

    public Double getCompanyRating() {
        return companyRating;
    }

    public void setCompanyRating(Double companyRating) {
        this.companyRating = companyRating;
    }

    public String getDianzan() {
        return dianzan;
    }

    public void setDianzan(String dianzan) {
        this.dianzan = dianzan;
    }

    public String getChaping() {
        return chaping;
    }

    public void setChaping(String chaping) {
        this.chaping = chaping;
    }

    public void setIsDelete(String isDelete)
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete() 
    {
        return isDelete;
    }

    public List<MoonReply> getMoonReplyList() {
        return moonReplyList;
    }

    public void setMoonReplyList(List<MoonReply> moonReplyList) {
        this.moonReplyList = moonReplyList;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }


    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }


    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("detailedDescription", getDetailedDescription())
            .append("youWork", getYouWork())
            .append("companyRating", getCompanyRating())
            .append("dianzan", getDianzan())
            .append("chaping", getChaping())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("moonReplyList", getMoonReplyList())
            .append("userName", getUserName())
            .append("auditStatus", getAuditStatus())
            .append("nickName", getNickName())
            .append("cause", getCause())
            .toString();
    }
}
